package com.lmu.travel.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lmu.travel.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author liuxuhuang
 * @className: OrderDao
 * @description: 订单dao层接口
 * @email liuxuhuang3970@qq.com
 * @date 2021/6/29 20:59
 * @version：1.0
 */
@Repository
@Mapper
public interface OrderDao extends BaseMapper<Order> {

    //更新订单状态
    int updateStatus(Order order);

    //查询订单信息
    Order findByOrderId(String orderId);


    int insert(Order order);

    int updateByOrderId(Order order);
}
